# -*- coding: utf-8 -*-
# @Date：2024/8/6 16:13:20
# @Author：CJiaの青姝
# @FileName：urls
# @Editor：PyCharm2024
# @Remark：
from utils.cj_auth import GlobalAuth
from utils.cj_ninja import CjNinjaAPI
from .router.router_v1 import logs_router_v1
from utils.cj_error import handle_server_error

logs_api_v1 = CjNinjaAPI(auth=GlobalAuth(), urls_namespace="logs_api", version="1.0.0")

# 统一处理server异常
# handle_server_error(logs_api_v1)

logs_api_v1.add_router("/", logs_router_v1)
